package com.zxmclasslibrarie.view.wtflist;

import java.io.Serializable;

/**
 * 微博实体类
 * 
 * @author zhaoyu
 * 
 */
public class WeiBoEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3521392786909160403L;

	/**
	 * 服务器端生成的文章ID
	 */
	private int id;

	/**
	 * 文章来源 0 —— 未知 1 —— 新浪
	 */
	private int source;

	/**
	 * 文章来源的ID
	 */
	private long sourceid;

	/**
	 * 找乐官方微博发出的微博ID
	 */
	private int zhaoleid;

	/**
	 * 文章的文字内容(<140)
	 */
	private String text;

	/**
	 * 文章中中图的地址(url)
	 */
	private String mpic;

	/**
	 * 中图的高度，单位像素
	 */
	private int mpich;

	/**
	 * 中图的宽度，单位像素
	 */
	private int mpicw;

	/**
	 * 文章中大图的地址(url)
	 */
	private String bpic;

	/**
	 * 大图的高度，单位像素
	 */
	private int bpich;

	/**
	 * 大图的宽度，单位像素
	 */
	private int bpicw;

	/**
	 * 文章的顶踩数量
	 */
	private int hot;

	/**
	 * 文章一共的评论数量
	 */
	private int comments;

	/**
	 * 发布的时间
	 */
	private long time;

	public WeiBoEntity() {
		super();
		// TODO Auto-generated constructor stub
	}

	public WeiBoEntity(int id, int source, int sourceId, int zhaoleId,
			String text, String mpic, int mpich, int mpicw, String bpic,
			int bpich, int bpicw, int hot, int comments, long time) {
		super();
		this.id = id;
		this.source = source;
		this.sourceid = sourceId;
		this.zhaoleid = zhaoleId;
		this.text = text;
		this.mpic = mpic;
		this.mpich = mpich;
		this.mpicw = mpicw;
		this.bpic = bpic;
		this.bpich = bpich;
		this.bpicw = bpicw;
		this.hot = hot;
		this.comments = comments;
		this.time = time;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSource() {
		return source;
	}

	public void setSource(int source) {
		this.source = source;
	}

	public long getSourceId() {
		return sourceid;
	}

	public void setSourceId(long sourceId) {
		this.sourceid = sourceId;
	}

	public int getZhaoleId() {
		return zhaoleid;
	}

	public void setZhaoleId(int zhaoleId) {
		this.zhaoleid = zhaoleId;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getMpic() {
		return mpic;
	}

	public void setMpic(String mpic) {
		this.mpic = mpic;
	}

	public int getMpich() {
		return mpich;
	}

	public void setMpich(int mpich) {
		this.mpich = mpich;
	}

	public int getMpicw() {
		return mpicw;
	}

	public void setMpicw(int mpicw) {
		this.mpicw = mpicw;
	}

	public String getBpic() {
		return bpic;
	}

	public void setBpic(String bpic) {
		this.bpic = bpic;
	}

	public int getBpich() {
		return bpich;
	}

	public void setBpich(int bpich) {
		this.bpich = bpich;
	}

	public int getBpicw() {
		return bpicw;
	}

	public void setBpicw(int bpicw) {
		this.bpicw = bpicw;
	}

	public int getHot() {
		return hot;
	}

	public void setHot(int hot) {
		this.hot = hot;
	}

	public int getComments() {
		return comments;
	}

	public void setComments(int comments) {
		this.comments = comments;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

}
